package com.dries.portal.module.chat.constants;

import com.dries.portal.module.user.entity.UserEntity;
import io.netty.util.AttributeKey;

/**
 * @Description:
 * @Author ZSY
 * @createTime 2020/8/17 18:42
 */
public class ChatConstant {

    public static final String CHAT_ONLINE_KEY = "ums:chat:online";

    public static final String CHAT_GROUP_ONLINE_KEY = "ums:chat:group:online:";
    public static final String CONVENER_USER_KEY = "ums:convener:user:";

    public static final String CHAT_MESSAGE  = "ums:chat:message:";

    public static final String CHAT_GROUP_MESSAGE  = "ums:chat:group:message:";

    public static final AttributeKey<UserEntity> KEY_USER_ID = AttributeKey.valueOf("key_user_id");

}
